
#include <string>
namespace pers {
    struct Person
    {
        std::string fname;
        std::string lname;
    };
    void getPerson(Person &person);
    void showPerson(Person &person);
}// namespace pers

namespace debts
{
    using namespace pers;
    struct Debt
    {
        Person person;
        double amount;
    };
    
    void getDebt(Debt &debt);
    void showDebt(Debt &debt);
    double totalDebt(const Debt arr[], int num);
} // namespace debts
